]> dgit.raspbian.org Git - gnome-shell.git/commit
dateMenu: Skip weather forecast if not valid
authorPhilip Chimento <philip@endlessm.com>
Tue, 19 Nov 2019 21:31:57 +0000 (13:31 -0800)
committerPhilip Chimento <philip@endlessm.com>
Wed, 20 Nov 2019 21:08:22 +0000 (13:08 -0800)
commitb779f6f72810ec06c4ddebf37680a6f254b61921
tree1bb60d4e96ab9fb2efae96c9e21b6ffbc15b95d7
parent83f224e08b0a016f995610dbcc3389ee4b374dbf
dateMenu: Skip weather forecast if not valid

GWeather.Info.get_value_update() may indicate that the forecast is not
valid, or it may return a timestamp of 0 to indicate the information has
never been updated. In both of these cases, skip creating a widget for
it, as the information will not be accurate.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/835
js/ui/dateMenu.js